From: LLVM Packaging Team Date: Mon, 27 Sep 2021 15:53:42 +0000 (+0100) Subject: openmp-soname X-Git-Tag: archive/raspbian/1%9.0.1-20+rpi1^2~69 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8512c1d75bb173df10860bb0c862790f70ea094d;p=llvm-toolchain-9.git openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index 8087b23a0..0a9e10a54 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -338,7 +338,8 @@ else() set(LIBOMP_INSTALL_KIND ARCHIVE) endif() -set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${LIBOMP_LIBRARY_SUFFIX}) +set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBOMP_VERSION_MAJOR}) + # Optional backwards compatibility aliases. set(LIBOMP_INSTALL_ALIASES TRUE CACHE BOOL